import ReactDOM from "react-dom/client";
import { LocaleProvider } from "@douyinfe/semi-ui";
import { Analytics } from "@vercel/analytics/react";
import App from "./App.jsx";
import zh_CN from '@douyinfe/semi-ui/lib/es/locale/source/zh_CN';
import "./index.css";

const root = ReactDOM.createRoot(document.getElementById("root"));

// window.addEventListener("contextmenu", (e) => e.preventDefault());

root.render(
  <LocaleProvider locale={zh_CN}>
    <App />
    <Analytics />
  </LocaleProvider>,
);
